package com.ynny.example07;

public class SonLikeDo implements DadLikeDo,MonLikeDo{
    @Override
    public void ride() {
        System.out.println("骑自行车");
    }

    @Override
    public void basketball() {
        System.out.println("打篮球");
    }

    @Override
    public void sing() {
        System.out.println("唱歌");
    }

    @Override
    public void dance() {
        System.out.println("跳舞");
    }
}
